<?php # $this->load->view('layouts/_flash'); ?>
<?php
	if($this->session->flashdata('msg'))
		echo $this->session->flashdata('msg');
?>
<div class="ui-corner-all contentContainer" style="background-color: #fff;">

<div style="position: relative;">

<div style="float: left;">
<div class="ui-corner-top side_menu" style="width: 700px;">Login</div>
<div style="border:1px  solid #286bcc;">
<div>&nbsp;</div>
<div>
<?echo validation_errors();?>
<?if(isset($system_message))echo $system_message;?>
<?php if($this->session->flashdata('msg')) echo $this->session->flashdata('msg'); ?>
<?php 
echo form_open('users/login');
?>

<fieldset>
    <div style="position: relative;">
        <div style="float: left; width: 100px; line-height: 3;"><span class="span"> Username </span></div>
        <div style="float: left; line-height: 3;">
        <span class="span">
            <?php
            $opt = 'class="ui-corner-all" style="border:#ccc 2px solid;" maxlength="255"';
            echo form_input('username', set_value('username'), $opt);
            ?>
        </span>
        </div>
        <div class="clearfloat"></div>
        <div style="float: left; width: 100px; line-height: 3;"><span class="span"> Password </span></div>
        <div style="float: left; line-height: 3;">
        <span class="span">
            <?php 
            echo form_password('password','', $opt);
            ?>
        </span>
        </div>
        <div class="clearfloat"></div>
       
        <div style="float: left; width: 100px; line-height: 3;"><span class="span"> &nbsp; </span></div>
        <div style="float: left; line-height: 3;">
        <span class="span">
            <?php
            $opt4 = 'class="ui-corner-all submit"';
            echo form_submit('', 'Login', $opt4);
            ?>
        </span>
        </div>
        <div class="clearfloat"></div>
    </div>
</fieldset>

<?php
echo form_close();
?>

</div>
<div class="clearfloat"></div>
</div>
<div>&nbsp;</div>
</div>
</div>
<div class="clearfloat"></div>
</div>

</div>